GtkWindow: add up CSD size in gtk_window_resize()
authorOlivier Fourdan <ofourdan@redhat.com>
Thu, 15 Oct 2015 09:25:51 +0000 (11:25 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 26 Oct 2015 07:40:36 +0000 (08:40 +0100)
commit3450f53907a15877dd4d7fef15c00af680811aa3
tree27abe3281db8445c9ddd4baf42d35d62b2b6683d
parent2258fe576f3419bba6027fe3e68bfb4eccff755a
GtkWindow: add up CSD size in gtk_window_resize()

When client side decoration is used, the size passed to
gtk_window_resize() or retrieved from gtk_window_get_size() for top-
level windows also accounts for the client side decorations widgets
such as the title bar or the shadow borders.

Add up the size of these additional controls to the given size to get
the size expected.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618
gtk/gtkwindow.c